package com.moji.cyg.biz.shop;

/**
 * 类${file_name}的实现描述：TODO 类实现描述
 * 
 * @author paul.gaol
 * @date 2012-3-6
 */
public class ShopServiceImpl implements ShopService {

    private ShopDAO shopDAO;

    @Override
    public void createShop(Shop shop) {
        shopDAO.createShop(shop);
    }

    @Override
    public Shop getShopByCode(String shopCode) {
        return shopDAO.getShopByCode(shopCode);
    }

    public void setShopDAO(ShopDAO shopDAO) {
        this.shopDAO = shopDAO;
    }

}
